package com.insigma.yanwenlong.bookkeeping.service;

import java.sql.SQLException;
import java.util.List;

import com.insigma.yanwenlong.bookkeeping.pojo.Type;

public interface TypeService {
	//查找所有的大类
	List<Type> findAllBigTypes(int direction) throws SQLException; 
	//根据大类的id查找所有的小类
	List<Type> findAllSmallTypes(int id,int direction) throws SQLException;
}
